<?php
/**
 * 第2步，环境检测
 */
include_once dirname(__FILE__).'/_config.php';

$error_code = 0;
function_check($func_items);
env_check($env_items);
dirfile_check($dirfile_items);

// echo 'env_items = ';			print_r($env_items);
// echo 'dirfile_items = ';		print_r($dirfile_items);
// echo 'func_items = ';		print_r($func_items);

set('<div class="step">
	第1步<i>&gt;</i><span class="cur">第2步</span><i>&gt;</i>第3步<i>&gt;</i>第4步<i>&gt;</i>第5步
</div>');
set(show_env_result($env_items, $dirfile_items, $func_items));
set(get_html('check.html'));

view();

if($error_code == 0){
	echo <<<HTML
	<script type="text/javascript" language="javascript" charset="utf=8">
	<!--
		document.getElementById('action').innerHTML += '<input type="submit" value="下一步" class="button" /><br />';
	//-->
	</script>
HTML
;
}
